'''
Description: 
Author: Zilu
Date: 2021-11-18 10:12:02
Version: 
LastEditTime: 2021-11-18 10:15:06
LastEditors: Zilu
'''

from wsgiref.simple_server import make_server
# 导入自己编写的相应HTTP请求的函数
from use_WSGI import application

# 创建一个服务器，IP地址为空，端口是8000，处理函数是application:
httpd = make_server('', 8000, application)
print('Serving HTTP on port 8000')
# 开始监听HTTP请求
httpd.serve_forever()


